Block Group: | Number Formatting |
Icon: |
![]() |
The Absolute block returns the absolute value of a number. Numbers, logical values, and numbers represented as strings are valid inputs. If the input cannot be resolved to a number, a NaN error is returned.
The following property of the Absolute block can take input and give output.
The following property of the Absolute block can give output but cannot take input.
The following image shows two examples of the Absolute block.